import request from '@/utils/request'
import qs from "qs"
export const InfoLs = (data: any) =>
    request({
        url: '/cloud-webapi/data/info-ls',
        method: 'post',
        data: qs.stringify(data)
    })

export const infoAllMetric = (data: any) =>
    request({
        url: '/cloud-webapi/data/info-all-metric',
        method: 'post',
        data: qs.stringify(data)
    })

export const pfmls = (data: any) =>
    request({
        url: '/cloud-webapi/data/pfm-ls',
        method: 'post',
        data: qs.stringify(data)
    })

export const dateRange = (data: any) =>
    request({
        url: '/cloud-webapi/data/date-range',
        method: 'post',
        data: qs.stringify(data)
    })

export const sysLogs = (data: any) =>
    request({
        url: '/cloud-webapi/data/logs',
        method: 'post',
        data: qs.stringify(data)
    })

export const getKeysByCompany = (data: any) =>
    request({
        url: '/cloud-webapi/data/get-keys-bycompany',
        method: 'get',
        params: data
    })

    //